<template>
	<el-form class="form"  :model="form" ref="formRef"  label-width="120px"  size="small">
		<div class="form_box">
		<div class="title">信息</div>
			<el-row>
				<el-col :span="12">
					<el-form-item label="名称:">
						{{form.name}}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="标题:">
						{{form.title}}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="图标SVG:">
						{{form.icon}}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="路径:">
						{{form.path}}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="vue文件路径:">
						{{form.component}}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="redirect:">
						{{form.redirect}}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="父级Id:">
						{{form.parentId}}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="排序:">
						{{form.sortOrder | sortOrderFilter }}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="隐藏:">
						{{form.hidden | hiddenFilter }}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="菜单类型1-模块2-功能3-按钮:">
						{{form.type | typeFilter }}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="不缓存标记:">
						{{form.cacheFlag | cacheFlagFilter }}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="创建时间:">
						{{form.createTime | formatDateFilter('yyyy-MM-dd hh:mm:ss') }}
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="修改时间:">
						{{form.modifyTime | formatDateFilter('yyyy-MM-dd hh:mm:ss') }}
					</el-form-item>
				</el-col>
			</el-row>
		</div>
	</el-form>
</template>
<script>
export default {
	props: {
		dataObj: {
			type: Object,
			default: new Object()
		},
	},
	filters: {
	},
	data(){
		return {
			form:new Object(),
		}
	},
	methods:{
	},
	created(){
		this.form = this.dataObj;
	},
}
</script>
